package com.liliudong.cursormate.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.liliudong.cursormate.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 系统权限表
 *
 * @TableName sys_permission
 */
@EqualsAndHashCode(callSuper = true)
@TableName(value = "sys_permission")
@Data
public class SysPermission extends BaseEntity implements Serializable {
    /**
     * 主键
     */
    @TableId
    private Long id;

    /**
     * 权限标识符
     */
    private String permission;

    /**
     * 描述信息
     */
    private String description;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}